<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html>
<html>
<head>
<base href="<%=request.getContextPath()%>/" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
	href="css/bootstrap-theme.min.css" />
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<title>Insert title here</title>
</head>
<body>

	<div class="container">
		<nav class="navbar navbar-default" role="navigation">
	<div class="container-fluid">
    <div class="navbar-header">
        <a class="navbar-brand">项目查询模块</a>
    </div>
    <div>
        <form class="navbar-form navbar-left" role="search">
            <div class="form-group">
                <input type="text" class="form-control" placeholder="Search">
            </div>
            <button type="submit" class="btn btn-default">搜索</button>
        </form>
    </div>
	</div>
</nav>
		<table class="table table-striped table-bordered table-hover">
			<tbody>
				<c:forEach var="item" varStatus="status" items="${itemList1 }">
					<tr>
					<td><a class="btn btn-primary" href="item/find/${item.id }">详情</a></td>
					<td>${item.itemName}</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<div style="text-align: center;">
		<a class="btn btn-default" href="item/findAll?page=${page-1 }">上一页</a>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<span class="btn btn-default">当前第${page }页</span>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<a class="btn btn-default" href="item/findAll?page=${page+1 }">下一页</a><br>
		<c:forEach begin="1" end="${total }" step="1" var="i">&nbsp;&nbsp;&nbsp;&nbsp;
		<a class="btn btn-default"" href="item/findAll?page=${i }">${i }</a>
		</c:forEach>
		</div>
	</div>

</body>




</html>